import http from "@/http";

export const getTravelPlan = (params) => {
  return http.get("/travel/plan", {
    params: {
      start_address: params.start_address,
      end_address: params.end_address,
      travel_mode: params.travel_mode,
      travel_preference: params.travel_preference,
    },
  });
};
